﻿using Business.BookManagement.Dto;
using Business.BorrowManagement.Dto;
using Business.RGoodManagement.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Business.BorrowManagement
{
    public interface IBorrowAppService : IApplicationService
    {
        Task<BorrowDto> Get(Guid id);
        Task<PagedResultDto<BorrowDto>> GetAll(GetBorrowInputDto input);
        Task<BorrowDto> CreateOrUpdate(BorrowDto input);
        Task Delete(List<Guid> ids);

        Task<PagedResultDto<RGoodDto>> GetAllDetail(GetBorrowInputDto input);
    }
}
